package com.team2.outpatient_sys.pojo;

/**
 * 就诊记录 实体类
 */
public class SeekRecord {
    // 就诊记录id
    private Integer id;
    // 就诊时间
    private String time;
    // 病人id
    private Integer patientId;
    // 医生id
    private Integer doctorId;
    // 病历id
    private Integer caseHistoryId;

    public SeekRecord() {
    }

    public SeekRecord(Integer id, String time, Integer patientId, Integer doctorId, Integer caseHistoryId) {
        this.id = id;
        this.time = time;
        this.patientId = patientId;
        this.doctorId = doctorId;
        this.caseHistoryId = caseHistoryId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public Integer getCaseHistoryId() {
        return caseHistoryId;
    }

    public void setCaseHistoryId(Integer caseHistoryId) {
        this.caseHistoryId = caseHistoryId;
    }

    @Override
    public String toString() {
        return "SeekRecord{" +
                "id=" + id +
                ", time='" + time + '\'' +
                ", patientId=" + patientId +
                ", doctorId=" + doctorId +
                ", caseHistoryId=" + caseHistoryId +
                '}';
    }
}
